SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '661f25dedbd5a0e42a3fc6a1898bed2ea95c7388f1fddc9ad60f4b9c8ca46161' 
  AND token = 'IksXV0MzBJ/0DvQ/mrlKcVulsd6GhP7/IruKvmWuKBA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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