SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '780d3e9eac6931e4e2b2d50991a4f39bc65d60bc16bf04025b769a4c4b595376' 
  AND token = 'mMba65jXWgPvt/i+EbffSkOHk10TefhOkocwyquCfoo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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