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

Query time 0.00036

JSON explain

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