SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '861eb817238d913dd659f4434da90017aafc0fd1c1edaa48fc8e72dc2084b9eb' 
  AND token = 'pl5JPyNHDA4KnHSjBt9ywu2fnBkD70sEp1o6ph+ZE8s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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