SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c8164df10660c28d7e73fb16c0e86b9e024d011c12d9895a960a6572fc9bc7a' 
  AND token = 'sxhu+U3kj/bYJ19TNPjudisfc+ad2U417rnuucMApB8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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