SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '93256a40f0ebe676da43a533867e15661a3cc7ac5caf9451444b465af38978f5' 
  AND token = 'wFk1ufSXzkKcw71nZ59T94a2+srFQfXdzgaZPK5kSTI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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