SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ea5ffe46644159e610baab6d46765fcb431bcf2ab2e1488f55e7b2d879079be' 
  AND token = 'u3tjakR6vxmS0GvwfpwLMiaXY4pwEr5bSFkPlaVMcGo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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