SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39903a45851ae31cf0b63b95517617be08679a0b511ab4f73a403bbd6e26a028' 
  AND token = 'PstesMUy0mhGbHp6Wapq70iwC2FuURZd8J6TFofbbRw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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