SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e123773112bf67f7b35ff239becd2c42397a97baa6168c52e9aad7362989f609' 
  AND token = 'APHA8WltlPDEenRvkouEc3KoMYJcPyZ2XjXUeM7583c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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