SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2559109c9c35e509884f7ad1103eca9d9810bf85ad40a38960d6a6456298b1d1' 
  AND token = '8RGXI1hX70v+aBApyAMpJN0f7SPBGidyL4M5ZQ8/fVk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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