SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5877fcc2b6c3d32e01c26798f2dc540157994b9e9db9209e48c95327b453ec6' 
  AND token = 'Q5HMygP50Y/Lo89FtwcHWlZnJuw+LWlrNPfM/L+MUWs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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