SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd603027ecfaaa73fde63f60a1c771302223981c0686a847368018d8cf7827f6b' 
  AND token = '0wgH3cNKP/d+geRj1S9oYBi/fyt16PFmBdqy9L6waj8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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