SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '020989396d3c55e1dfd58ff62b164dbcaaff3eeb32b3a8c7344ed556aeff8be4' 
  AND token = 'Y2ZXXeI7Lh/5ZYbKPMf7vDd2IytF0rDs2kEalTJE+ps=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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