SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b14914c3cedd834dda32e587b1719448b652490161ba9c60597d1dd464c26a1c' 
  AND token = 'oKiSlVuVWT7BJd7dZUlHMrtgw65rvY06IKI3lFGFJ/c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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