SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20d43653c9717f52b0523063fbbf26c4995134a835e4cdaf8b50268d84552f9c' 
  AND token = '45eqg+xei9JU4y9CY+EEC993xkgVENCriU4fCRHjt5g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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