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

Query time 0.00019

JSON explain

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