SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4a632a78e8f228fe987a84ca0e8711bcfaff87a795e4f44bb71a2edff90d04d' 
  AND token = 'UvZFL/JZ0W3HHy4Grw8AHBjSLGKGt/iwE+2bl34QYGE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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