SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a98f9d54c186b372c066b819cd8fb8e07fe8a9ee7e8cfd6c94752d3a2ba345a' 
  AND token = 'IQ2lumr7rvLlyLZW/j4ki/oBxtp2KBMMlomQc0aihnA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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