SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f71cef943cc7a89b53af9cf246ae0edd265ea003778b0adf82189ce2849d127c' 
  AND token = 'Q2d7rjFK9UG1wy04LkKDWf1iNFbWHTHE8wX30zN7UuE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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