SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '361c6775097c51a389fda68c851081d77a9a6904d6620b9428a2aad726c36376' 
  AND token = 'O4N2lkRpt4pIfhamZP4woyN76gD8PNOg8zNT6hM/YD8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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