SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd42333bbef744225777e05df157de998e6cf37da6911acbd1d923c7eb82acae8' 
  AND token = 'oZ4EZK7JJvi6gagRovc+ke7M5fYEipRLiWw5v0L+g/4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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