SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '796eafb84ca1e85de69107350c151fc40ea3fb76ae0855b89947930dc57584e1' 
  AND token = 'cjlxctYTLMSG12ZHPWhcwV6dV8DskpVa5oeFm62BMwg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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