SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40ae5d00c8bbf3582f2fa144d4ba1ebc2295ddf4f2799457379abbca6150f657' 
  AND token = 'n4rBYIwCBc/Ds5TTAvQe8f162UCB8heiIOP4iszzlCI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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