SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7f239173813352341bf504804a9bda1d9bff0a7770e91da76f907a2a54d8eb6' 
  AND token = 'e0RwRCqL0ChEwKdzjC1noWE3RqZzA6Q7j+Evd+kR0Ys=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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