SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd12ffb051e05bc22866cfa923388a5003e43165e2f6bee0fe2c1ec52b13bb88a' 
  AND token = '3K6p+K3IWax/qvv/pYzaJMrv9OPpQ6VHteTInKZ/Xcg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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