SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '071c1b529bd90ea4b6d5e0d1cb33e4ad63aa077d6fc2029f0cb4370c740ed670' 
  AND token = 'W3PCqaUf11mUNAxPqsb88ZxVfb9mRzmrcPXaKe2khR4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}