SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f271e210abb6b37f0ea1a2e8d23dfc86a0634d614aada1d28d1a9b3bfef4cb3c' 
  AND token = 'T4fM4+ZJUC37Xu2XC/VskyTPZjbPox0xRLeKGBVo7eA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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