SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cdd3f5044870b0e5ba9e68e5af1a140e456817b5fec615a27e7863d32015b949' 
  AND token = 'f0oWnlqPeUivH34BAqybENgrKYfvf6yzVAXlPCK7o7g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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