SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '050f5336ff273840db91246fc3abc461928ea128dc5a5bf2c92124fc32abce13' 
  AND token = 'n3h+vqRqHZnlRESaJzz8xPUtPbVDMuJ/bAXxffs8THE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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