SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7d27a4819431b632652405224504d3dfcf2c23c2dbb54aeb915ad1e04ca9096' 
  AND token = 'i99LcE/JsztQs5eMqAwSEtU7WU3HtSAmJll3nFhP5QE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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