SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '290ed275c995393c89ce725089bada2f5818c5e30dc060ede2e140b22b19976b' 
  AND token = 'mjEXdVDm+xT9jr9j6tyaSB8MQA60Z7zax+uiL95Y30U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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