SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a4d3bc3a54623dd93617bb2d2c89caf278a86417a775a8d918baf1796205e264' 
  AND token = '1mR2/0T7Pq8paNaZNd571dl4fSdzM/iS/nMQCWx/VoE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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