SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '240661a5d2ae12be3b4ce76944bea5425eea55fbb45d2b4603977d14dd501f9d' 
  AND token = '122wOVwE2Y6WcBgGljB94CbjMFSsm3jtY6fpuXhGvWI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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