SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8de7a2c96448445eb2fe583428d533293c3376e8fc5a728dd136eab2f1dc11a4' 
  AND token = 'DX6/Qauv5uY0zzYpEwMNq8iREZMrnUGl8qA6rJzxRU8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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