SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a2f0e27fcc88d015e04fc17be9916ce5c4317bdc20929372a27319aef2166cb' 
  AND token = 'yWRVgr/0Bmk1x9MMv7GJyWSCgt7PESEkXTU6arkMTgE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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