SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5512185386266e001e17cb2164b33c246dee71ec2970b12bd6b821f79a5cefb' 
  AND token = 'Z6Qzx52Q9n8Bcj/KrKKDH7z3r1w9XenJNAELKBUORkI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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