SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a646e2e926d7a11d7f4907f36331cf925744988a65588c4e36755bef7ebaaccf' 
  AND token = '21cXVnvS7+17LSwO5cVyvSmQmWJLAGH/uEIPgodFfXA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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