SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38ff52f76f24e65845dc14c21c0568f7c6cfaaed8e3624c6664f5ff0e7dd04e3' 
  AND token = 'hRgiEIFzISYUVrOfkTzhwZ5XvGA5JJEpO+Tpy8IsuNs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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