SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8b19e1293e1ef4310867cc05d6348b2068690f4f70927c2953c99928aa6563c' 
  AND token = 'bK7jZG2Yq6DZrQGfCsif7luZUAgKo10q8E9G0tHBpHY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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